package com.sqxgg.drugstore.security.config;


import com.sqxgg.drugstore.security.entity.ValidateCodeProperties;
import com.sun.org.apache.bcel.internal.classfile.Code;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Security 属性 类
 * Created by Fant.J.
 */
//获取配置属性前缀
@Configuration
@ConfigurationProperties(prefix = "sqxgg.security")
public class SecurityProperties {
    /**
     * 浏览器 属性类
     */
    private BrowserProperties browser = new BrowserProperties();

    public BrowserProperties getBrowser() {
        return browser;
    }

    public void setBrowser(BrowserProperties browser) {
        this.browser = browser;
    }

    public ValidateCodeProperties getCode() {
        return code;
    }

    public void setCode(ValidateCodeProperties code) {
        this.code = code;
    }

    /**
     * 验证码 属性类
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();
}
